﻿using Newtonsoft.Json;

namespace Ecobee.Net
{
	/// <summary>
	/// 
	/// </summary>
	public class Message : ApiObject
	{
		private string _message = string.Empty;

		/// <summary>
		/// The message text to send. Text will be truncated to 500 characters if longer. 
		/// </summary>
		[JsonProperty(PropertyName = "text")]
		public string Text
		{
			get
			{
				return _message;
			}
			set
			{
				_message= value;
			}
		}
	}
}
